***Table 1, column 1***

sum x09_Immigration if Delta_Immigration!=.
sum x09_Immigration if COM==1 & Delta_Immigration!=. 
sum x09_Immigration if GRE==1 & Delta_Immigration!=.
sum x09_Immigration if SOC==1 & Delta_Immigration!=.
sum x09_Immigration if CDC==1 & Delta_Immigration!=.
sum x09_Immigration if LIB==1 & Delta_Immigration!=.
sum x09_Immigration if EXR==1 & Delta_Immigration!=.

sum x09_EU_OneVoice if Delta_OneVoice!=.
sum x09_EU_OneVoice if COM==1 &  Delta_OneVoice!=.
sum x09_EU_OneVoice if GRE==1 &  Delta_OneVoice!=.
sum x09_EU_OneVoice if SOC==1 &  Delta_OneVoice!=.
sum x09_EU_OneVoice if CDC==1 &  Delta_OneVoice!=.
sum x09_EU_OneVoice if LIB==1 &  Delta_OneVoice!=.
sum x09_EU_OneVoice if EXR==1 &  Delta_OneVoice!=.

sum x09_EU_Stronger_DefencePolicy if Delta_Stronger_DefencePolicy!=.
sum x09_EU_Stronger_DefencePolicy if COM==1 & Delta_Stronger_DefencePolicy!=.
sum x09_EU_Stronger_DefencePolicy if GRE==1 & Delta_Stronger_DefencePolicy!=.
sum x09_EU_Stronger_DefencePolicy if SOC==1 & Delta_Stronger_DefencePolicy!=.
sum x09_EU_Stronger_DefencePolicy if CDC==1 & Delta_Stronger_DefencePolicy!=.
sum x09_EU_Stronger_DefencePolicy if LIB==1 & Delta_Stronger_DefencePolicy!=.
sum x09_EU_Stronger_DefencePolicy if EXR==1 & Delta_Stronger_DefencePolicy!=.

sum x09_EU_IntegrationGood if Delta_IntegrationGood!=.
sum x09_EU_IntegrationGood if COM==1 &  Delta_IntegrationGood!=.
sum x09_EU_IntegrationGood if GRE==1 &  Delta_IntegrationGood!=.
sum x09_EU_IntegrationGood if SOC==1 &  Delta_IntegrationGood!=.
sum x09_EU_IntegrationGood if CDC==1 &  Delta_IntegrationGood!=.
sum x09_EU_IntegrationGood if LIB==1 &  Delta_IntegrationGood!=.
sum x09_EU_IntegrationGood if EXR==1 &  Delta_IntegrationGood!=.


***Table 1, column 2***

sum x14_Immigration if Delta_Immigration!=.
sum x14_Immigration if COM==1 & Delta_Immigration!=.
sum x14_Immigration if GRE==1 & Delta_Immigration!=.
sum x14_Immigration if SOC==1 & Delta_Immigration!=.
sum x14_Immigration if CDC==1 & Delta_Immigration!=.
sum x14_Immigration if LIB==1 & Delta_Immigration!=.
sum x14_Immigration if EXR==1 & Delta_Immigration!=.

sum x14_EU_OneVoice if Delta_OneVoice!=.
sum x14_EU_OneVoice if COM==1 &  Delta_OneVoice!=.
sum x14_EU_OneVoice if GRE==1 &  Delta_OneVoice!=.
sum x14_EU_OneVoice if SOC==1 &  Delta_OneVoice!=.
sum x14_EU_OneVoice if CDC==1 &  Delta_OneVoice!=.
sum x14_EU_OneVoice if LIB==1 &  Delta_OneVoice!=.
sum x14_EU_OneVoice if EXR==1 &  Delta_OneVoice!=.

sum x14_EU_Stronger_DefencePolicy if Delta_Stronger_DefencePolicy!=.
sum x14_EU_Stronger_DefencePolicy if COM==1 & Delta_Stronger_DefencePolicy!=.
sum x14_EU_Stronger_DefencePolicy if GRE==1 & Delta_Stronger_DefencePolicy!=.
sum x14_EU_Stronger_DefencePolicy if SOC==1 & Delta_Stronger_DefencePolicy!=.
sum x14_EU_Stronger_DefencePolicy if CDC==1 & Delta_Stronger_DefencePolicy!=.
sum x14_EU_Stronger_DefencePolicy if LIB==1 & Delta_Stronger_DefencePolicy!=.
sum x14_EU_Stronger_DefencePolicy if EXR==1 & Delta_Stronger_DefencePolicy!=.

sum x14_EU_IntegrationGood if Delta_IntegrationGood!=.
sum x14_EU_IntegrationGood if COM==1 &  Delta_IntegrationGood!=.
sum x14_EU_IntegrationGood if GRE==1 &  Delta_IntegrationGood!=.
sum x14_EU_IntegrationGood if SOC==1 &  Delta_IntegrationGood!=.
sum x14_EU_IntegrationGood if CDC==1 &  Delta_IntegrationGood!=.
sum x14_EU_IntegrationGood if LIB==1 &  Delta_IntegrationGood!=.
sum x14_EU_IntegrationGood if EXR==1 &  Delta_IntegrationGood!=.


***Table 1, column 3***

ttest x09_Immigration == x14_Immigration 
ttest x09_Immigration == x14_Immigration if COM==1
ttest x09_Immigration == x14_Immigration if GRE==1
ttest x09_Immigration == x14_Immigration if SOC==1
ttest x09_Immigration == x14_Immigration if CDC==1
ttest x09_Immigration == x14_Immigration if LIB==1
ttest x09_Immigration == x14_Immigration if EXR==1

ttest x09_EU_OneVoice == x14_EU_OneVoice 
ttest x09_EU_OneVoice == x14_EU_OneVoice if COM==1
ttest x09_EU_OneVoice == x14_EU_OneVoice if GRE==1
ttest x09_EU_OneVoice == x14_EU_OneVoice if SOC==1
ttest x09_EU_OneVoice == x14_EU_OneVoice if CDC==1
ttest x09_EU_OneVoice == x14_EU_OneVoice if LIB==1
ttest x09_EU_OneVoice == x14_EU_OneVoice if EXR==1

ttest x09_EU_Stronger_DefencePolicy == x14_EU_Stronger_DefencePolicy 
ttest x09_EU_Stronger_DefencePolicy == x14_EU_Stronger_DefencePolicy if COM==1
ttest x09_EU_Stronger_DefencePolicy == x14_EU_Stronger_DefencePolicy if GRE==1
ttest x09_EU_Stronger_DefencePolicy == x14_EU_Stronger_DefencePolicy if SOC==1
ttest x09_EU_Stronger_DefencePolicy == x14_EU_Stronger_DefencePolicy if CDC==1
ttest x09_EU_Stronger_DefencePolicy == x14_EU_Stronger_DefencePolicy if LIB==1
ttest x09_EU_Stronger_DefencePolicy == x14_EU_Stronger_DefencePolicy if EXR==1

ttest x09_EU_IntegrationGood == x14_EU_IntegrationGood 
ttest x09_EU_IntegrationGood == x14_EU_IntegrationGood if COM==1
ttest x09_EU_IntegrationGood == x14_EU_IntegrationGood if GRE==1
ttest x09_EU_IntegrationGood == x14_EU_IntegrationGood if SOC==1
ttest x09_EU_IntegrationGood == x14_EU_IntegrationGood if CDC==1
ttest x09_EU_IntegrationGood == x14_EU_IntegrationGood if LIB==1
ttest x09_EU_IntegrationGood == x14_EU_IntegrationGood if EXR==1


***Table 2***

corr x09_Immigration x14_Immigration 
corr x09_EU_IntegrationGood x14_EU_IntegrationGood 
corr x09_EU_OneVoice x14_EU_OneVoice 
corr x09_EU_Stronger_DefencePolicy x14_EU_Stronger_DefencePolicy 


***Table 3***

sum Delta_Immigration if Gov_14==1
sum Delta_IntegrationGood if Gov_14==1
sum Delta_OneVoice if Gov_14==1	
sum Delta_Stronger_DefencePolicy if Gov_14==1

sum Delta_Immigration if Gov_14==0
sum Delta_IntegrationGood if Gov_14==0
sum Delta_OneVoice if Gov_14==0
sum Delta_Stronger_DefencePolicy if Gov_14==0


***Table 4***

reg Delta_Immigration Delta_IntegrationGood Delta_Size Gov_14 East COM GRE SOC CDC LIB EXR , beta
reg Delta_OneVoice Delta_IntegrationGood Delta_Size Gov_14 East COM GRE SOC CDC LIB EXR , beta
reg Delta_Stronger_DefencePolicy Delta_IntegrationGood Delta_Size Gov_14 East COM GRE SOC CDC LIB EXR , beta


